package com.koron.ticket.line.workFake.mapper;

import com.koron.ticket.line.workFake.bean.WorkFakeBean;
import com.koron.ticket.line.workFake.bean.dto.WorkFakeQueryBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: rocky
 * @Date: 2022/1/5 15:18
*/
public interface WorkFakeMapper {
    int deleteByPrimaryKey(String id);

    int insert(WorkFakeBean record);

    int insertOrUpdate(WorkFakeBean record);

    int insertOrUpdateSelective(WorkFakeBean record);

    int insertSelective(WorkFakeBean record);

    WorkFakeBean selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(WorkFakeBean record);

    int updateByPrimaryKey(WorkFakeBean record);

    int updateBatch(List<WorkFakeBean> list);

    int updateBatchSelective(List<WorkFakeBean> list);

    int batchInsert(@Param("list") List<WorkFakeBean> list);

    List<WorkFakeQueryBean> queryAllByTypeAndTitle(WorkFakeQueryBean queryBean);


}